using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace LCWMS
{
    public partial class w_so002_short : Form
    {
        private DataSet ds_short;
        public w_so002_short(DataSet ds_temp)
        {
            InitializeComponent();
            ds_short = ds_temp;
            dataGridView1.AutoGenerateColumns = false;
        }

        private void w_so002_short_Load(object sender, EventArgs e)
        {
            dataGridView1.DataSource = ds_short.Tables[0];
        }

        private void button1_Click(object sender, EventArgs e)
        {
            main.g_class.DataGridViewToExcel(dataGridView1);
        }
    }
}